package com.gf.search.dao;

import java.util.List;

import org.springframework.jdbc.core.RowMapper;

import com.gf.base.type.IndexType;
import com.gf.common.bean.Page;

public interface SearchDao {

	/**
	 * 
	 * @param keyword
	 * @param indexType
	 *            USER昵称,EXAM标题,HELP标题
	 * @param page
	 * @param rowMapper
	 * @return
	 */
	public <T> List<T> search(String keyword, IndexType indexType, Page page,
			RowMapper<T> rowMapper);

}
